package org.mindrive.system.dao.mapper;

import org.mindrive.system.collection.system.SystemInfoEntity;

import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

public interface SystemInfoMapper extends BaseMapper<SystemInfoEntity> {

	@Select({ "CREATE TABLE IF NOT EXISTS SYSTEM_INFO (ID VARCHAR (64) PRIMARY KEY, NAME VARCHAR (256),VALUE TEXT)" })
	public void createSystemInfoTable();

	@Select({ "INSERT INTO SYSTEM_INFO (ID, NAME,VALUE) VALUES ('0001', 'version' ,'1.0')" })
	public void initSystemInfoTable();
}
